<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员管理</title>
<link rel="stylesheet" type="text/css" href="<?php echo site_url('css/base.css');?>"><script
	language="javascript">
function viewArc(aid){
	if(aid==0) aid = getOneItem();
	window.open("archives.asp?aid="+aid+"&action=viewArchives");
}
function editArc(aid){
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=editArchives";
}
function updateArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=makeArchives&qstr="+qstr+"";
}
function checkArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=checkArchives&qstr="+qstr+"";
}
function moveArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=moveArchives&qstr="+qstr+"";
}
function adArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=commendArchives&qstr="+qstr+"";
}
function delArc(aid){
	var qstr=getCheckboxItem();
	if(aid==0) aid = getOneItem();
	location="archives.asp?aid="+aid+"&action=delArchives&qstr="+qstr+"";
}

//获得选中文件的文件名
function getCheckboxItem()
{
	var allSel="";
	if(document.form2.id.value) return document.form2.id.value;
	for(i=0;i<document.form2.id.length;i++)
	{
		if(document.form2.id[i].checked)
		{
			if(allSel=="")
				allSel=document.form2.id[i].value;
			else
				allSel=allSel+"`"+document.form2.id[i].value;
		}
	}
	return allSel;
}

//获得选中其中一个的id
function getOneItem()
{
	var allSel="";
	if(document.form2.id.value) return document.form2.id.value;
	for(i=0;i<document.form2.id.length;i++)
	{
		if(document.form2.id[i].checked)
		{
				allSel = document.form2.id[i].value;
				break;
		}
	}
	return allSel;
}
function selAll()
{
	for(i=0;i<document.form2.id.length;i++)
	{
		if(!document.form2.id[i].checked)
		{
			document.form2.id[i].checked=true;
		}
	}
}
function noSelAll()
{
	for(i=0;i<document.form2.id.length;i++)
	{
		if(document.form2.id[i].checked)
		{
			document.form2.id[i].checked=false;
		}
	}
}
</script>

</head>
<body leftmargin="8" topmargin="8" background='skin/images/allbg.gif'>

<!--  快速转换位置按钮  -->
<table width="98%" border="0" cellpadding="0" cellspacing="1"
	bgcolor="#D1DDAA" align="center">
	<tr>
		<td height="26" background="skin/images/newlinebg3.gif">
		<table width="98%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td align="center">&nbsp;</td>
		  </tr>
		</table>
		</td>
	</tr>
</table>

<!--  内容列表   -->
<form action="add" method="post" enctype="multipart/form-data" name="form2">

<table width="98%" border="0" cellpadding="2" cellspacing="1"
	bgcolor="#D1DDAA" align="center" style="margin-top: 8px">
	<tr bgcolor="#E7E7E7">
		<td height="24" colspan="2" background="skin/images/tbg.gif">&nbsp;添加</td>
	</tr>
		<tr align='center' bgcolor="#FFFFFF"
		onMouseMove="javascript:this.bgColor='#FCFDEE';"
		onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
	  <td align="right">类别:</td>
		<td align="left">
			<select name="parentid">
				<option value="1">共享</option>
				<option value="2">创作</option>
			</select>
		</td>
	</tr>
	<tr align="center" bgcolor="#FAFAF1" height="22">
		<td width="11%" align="right">名称:</td>
	  <td align="left">
	    <input name="filename" type="text" id="textfield" size="20" />	 </td>
    </tr>

	<tr align='center' bgcolor="#FFFFFF"
		onMouseMove="javascript:this.bgColor='#FCFDEE';"
		onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
	  <td align="right">缩率图</td>
		<td align="left">
		<input type="file" name="filesmallimg" id="fileField" />
		</td>
	</tr>	
    <tr align="center" bgcolor="#FAFAF1" height="22">
	  <td width="11%" align="right">下载文件:</td>
	    <td align="left"><input type="file" name="downfile" id="fileField2" /></td>
    </tr>
	<tr align='center' bgcolor="#FFFFFF"
		onMouseMove="javascript:this.bgColor='#FCFDEE';"
		onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
		<td align="right">授权模式</td>
		<td align="left"><label>
	    <input name="shouquan" type="text" id="textfield3" size="15" />
		</label></td>
	</tr>
    	<tr align="center" bgcolor="#FAFAF1" height="22">
		<td width="11%" align="right">普通价::</td>
	    <td align="left"><label>
        <input name="jiage" type="text" id="textfield8" size="15" />
	    </label></td>
    </tr>
    <tr align='center' bgcolor="#FFFFFF"
		onMouseMove="javascript:this.bgColor='#FCFDEE';"
		onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
		<td align="right">推荐指数</td>
		<td align="left"><label>
	    <input name="tujianzhishu" type="text" id="textfield4" size="15" />
		</label></td>
	</tr>
    
    <tr align="center" bgcolor="#FAFAF1" height="22">
		<td width="11%" align="right">分辨率::</td>
	    <td align="left"><label>
        <input name="fenbianlv" type="text" id="textfield7" size="15" />
	    </label></td>
    </tr>
    
	
    
        <tr align='center' bgcolor="#FFFFFF"
		onMouseMove="javascript:this.bgColor='#FCFDEE';"
		onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
		<td align="right">尺寸</td>
		<td align="left"><label>
		  <input name="chicun" type="text" id="textfield5" size="15" />
		</label></td>
	</tr>
    
    
   <tr align="center" bgcolor="#FAFAF1" height="22">
		<td width="11%" align="right">格式::</td>
	    <td align="left"><label>
	    <input name="geshi" type="text" id="textfield9" size="15" />
      </label></td>
    </tr> 
    <tr align='center' bgcolor="#FFFFFF"
		onMouseMove="javascript:this.bgColor='#FCFDEE';"
		onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
		<td align="right">颜色模式</td>
		<td align="left"><label>
		<input name="yanshemoshi" type="text" id="textfield6" size="15" />
	  </label></td>
	</tr>
    <tr align="center" bgcolor="#FAFAF1" height="22">
		<td width="11%" align="right">工具:</td>
	    <td align="left"><label>
	    <input name="gongju" type="text" id="textfield2" size="15" />
	    </label></td>
</tr>
    	<tr bgcolor="#FAFAF1">
		<td height="28" colspan="3" align="center"><label>
		  <input type="submit" name="button" id="button" value="提交" />
		</label></td>
	</tr>
	<tr align="right" bgcolor="#EEF4EA">
		<td height="36" colspan="2" align="center"><!--翻页代码 --></td>
	</tr>
</table>

</form>


</body>
</html>
